package ooday01;

public class Car {
    String brand;
    String color;
    int price;

    Car(){}

    Car(String brand, String color, int price){
        this.brand = brand;
        this.color = color;
        this.price = price;
    }
    void start(){
        System.out.println(brand+"牌子的"+color+"颜色"+price+"万块钱的车, 启动了!");
    };
    void run(){
        System.out.println(color+"颜色"+brand+"车开始跑了!");
    }
    void stop(){
        System.out.println("开了五公里后"+brand+"车停下了!");
    }
}





